// 导入图标组件
import IconDashboard from './IconDashboard.vue'
import IconChartLine from './IconChartLine.vue'
import IconSetting from './IconSetting.vue'
import IconUser from './IconUser.vue'
import IconUserGroup from './IconUserGroup.vue'
import IconMenu from './IconMenu.vue'
import IconDept from './IconDept.vue'
import IconPost from './IconPost.vue'
import IconBackup from './IconBackup.vue'
import IconMonitor from './IconMonitor.vue'
import IconLog from './IconLog.vue'
import IconLoginLog from './IconLoginLog.vue'
import IconApi from './IconApi.vue'
import IconTool from './IconTool.vue'
import IconDict from './IconDict.vue'
import IconFile from './IconFile.vue'
import IconDocument from './IconDocument.vue'
import IconFolder from './IconFolder.vue'

// 导出图标组件
export {
  IconDashboard,
  IconChartLine,
  IconSetting,
  IconUser,
  IconUserGroup,
  IconMenu,
  IconDept,
  IconPost,
  IconBackup,
  IconMonitor,
  IconLog,
  IconLoginLog,
  IconApi,
  IconTool,
  IconDict,
  IconFile,
  IconDocument,
  IconFolder
}

// 注册全局图标组件
export default {
  install(app) {
    app.component('IconDashboard', IconDashboard)
    app.component('IconChartLine', IconChartLine)
    app.component('IconSetting', IconSetting)
    app.component('IconUser', IconUser)
    app.component('IconUserGroup', IconUserGroup)
    app.component('IconMenu', IconMenu)
    app.component('IconDept', IconDept)
    app.component('IconPost', IconPost)
    app.component('IconBackup', IconBackup)
    app.component('IconMonitor', IconMonitor)
    app.component('IconLog', IconLog)
    app.component('IconLoginLog', IconLoginLog)
    app.component('IconApi', IconApi)
    app.component('IconTool', IconTool)
    app.component('IconDict', IconDict)
    app.component('IconFile', IconFile)
    app.component('IconDocument', IconDocument)
    app.component('IconFolder', IconFolder)
  }
} 